projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ea2a8
)
Indent `closure' forms better
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 25 Nov 2021 13:23:58 +0000
(14:23 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 25 Nov 2021 13:41:45 +0000
(14:41 +0100)
* lisp/emacs-lisp/lisp-mode.el (closure): Indent `closure' forms
better (bug#52063).
lisp/emacs-lisp/lisp-mode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index d90d0f5f6ace092fa30b959c12bce7c3b2a3299d..416d64558d908702a9c31daadc12b06bdd758ca1 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mode.el
+++ b/
lisp/emacs-lisp/lisp-mode.el
@@
-1308,6
+1308,7
@@
Lisp function does not specify a special indentation."
(put 'handler-bind 'lisp-indent-function 1) ;CL
(put 'unwind-protect 'lisp-indent-function 1)
(put 'with-output-to-temp-buffer 'lisp-indent-function 1)
+(put 'closure 'lisp-indent-function 2)
(defun indent-sexp (&optional endpos)
"Indent each line of the list starting just after point.